package cn.seaboot.admin.sms.bean;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * POJO
 * 短信模版 [t_sms_config]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "短信模版 [t_sms_config] 实体类")
public class SmsConfig implements Serializable {

    private static final long serialVersionUID = 1578621882588194372L;
    /**
     * ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 名称
     */
    @Size( max = 16)
    @Schema(description = "名称")
    private String name;
    /**
     * 短信类型
     */
    @Schema(description = "短信类型")
    private Integer smsType;
    /**
     * 消息模版ID
     */
    @Size( max = 32)
    @Schema(description = "消息模版ID")
    private String msgId;
    /**
     * 短信通道
     */
    @Size( max = 32)
    @Schema(description = "短信通道")
    private String channelId;
    /**
     * 创建日期
     */
    @Schema(description = "创建日期")
    private LocalDateTime gmtCreate;
    /**
     * 修改日期
     */
    @Schema(description = "修改日期")
    private LocalDateTime gmtModified;
    /**
     * 是否禁用
     */
    @Schema(description = "是否禁用")
    private Boolean disabled;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSmsType() {
        return smsType;
    }

    public void setSmsType(Integer smsType) {
        this.smsType = smsType;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }
}